import winsound
import time

def sound_alert():
    duration = 250 # millisecond
    freq = 1200  # Hz

    ## 高低频变化
    for i in range(60):
        winsound.Beep(freq, duration)
        
        time.sleep(0.1)


sound_alert()
